package com.sjc.designpattern.iterator;

/**
 * @Classname Student
 * @Description 学生类
 * @Date 2020/4/24 23:01
 * @Created by SangJiacun
 */
public class Student {
    private String name;

    public Student(String name) {
        super();
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student [name=" + name + "]";
    }
}
